package com.teamall.web.xxgl.db.dao.mapper;

import com.teamall.web.xxgl.db.arg.AidReportChannelRelArg;
import com.teamall.web.xxgl.db.po.AidReportChannelRelPO;

import java.math.*;
import java.util.*;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

public interface IAidReportChannelRelMapper {
    
    List<Integer> countByArg(AidReportChannelRelArg arg);

    List<AidReportChannelRelPO> selectByArg(AidReportChannelRelArg arg);

    AidReportChannelRelPO selectByPrimaryKey(Integer id);

    List<AidReportChannelRelPO> selectByArgAndPage(AidReportChannelRelArg arg, RowBounds rowBound);

    int insert(AidReportChannelRelPO record);

    int insertSelective(AidReportChannelRelPO record);

    int insertBatch(@Param("list") List<AidReportChannelRelPO> records);

    int updateByArgSelective(@Param("record") AidReportChannelRelPO record,
            @Param("arg") AidReportChannelRelArg arg);

    int updateByArg(@Param("record") AidReportChannelRelPO record,
            @Param("arg") AidReportChannelRelArg arg);

    int updateByPrimaryKeySelective(AidReportChannelRelPO record);

    int updateByPrimaryKey(AidReportChannelRelPO record);
    
    int deleteByArg(AidReportChannelRelArg arg);
    
    int deleteByPrimaryKey(Integer id);
    
}